package com.atwork.service;

import com.atwork.model.normal.SysResource;

import java.util.List;
import java.util.Set;

/**
 * @CreateBy: zhaojun
 * @CreateTime: 2018-08-04
 * @Desc: 系统资源
 */
public interface SysResourceService {
    List<SysResource> getAllResource(int pageNum, int pageSize);

    int insertResource(SysResource record);

    SysResource getResourceById(Integer id);

    int updateResourceById(SysResource record);

    Set<SysResource> getResourceTree(String loginName);

}
